package com.pxst.agent.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pxst.entity.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
* @author zarke
* @since 2023-09-08 11:04:44
*/
@Data
@TableName("sys_agents")
public class SysAgents extends BaseEntity {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @ApiModelProperty(value = "所属总代")
    private Long belongId;

    @ApiModelProperty(value = "代理编号，报表用")
    private String displayId;

    @ApiModelProperty(value = "全称")
    private String fullName;

    @ApiModelProperty(value = "1.总代，2.代理")
    private Integer identity;

    @ApiModelProperty(value = "是否为测试代理0.不是，1.是")
    private Integer isTester;

    @ApiModelProperty(value = "商户总数")
    private Long merchantCount;

    @ApiModelProperty(value = "登录密码")
    private String password;

    @ApiModelProperty(value = "状态，0.停用，1.启用")
    private Integer status;

    @ApiModelProperty(value = "登录账号")
    private String username;

}
